package com.maimao.uid.config;

import org.apache.commons.lang.time.DateUtils;

import java.time.Duration;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author MaoLin Wang
 * @date 2021/1/12 11:19 上午
 */
public class m {
    private static final Pattern CHINA_PATTERN = Pattern.compile("");
    public static void main(String[] args) {
        /*Matcher m = CHINA_PATTERN.matcher("1586178239");
        System.out.println(m.matches());*/
        List<String> lis1=new ArrayList<String>();
        lis1.add("1");
        lis1.add("2");
        lis1.add("3");

        List<String> lis2=new ArrayList<String>();
        lis2.add("1");
        lis2.add("4");
        lis2.add("5");
        System.out.println(lis1.retainAll(lis2));
        System.out.println(lis1);
        System.out.println(lis2);
    }
}
